package org.example.demo3.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.demo3.dto.MessageDto;
import org.example.demo3.enity.message;
import org.example.demo3.vo.messageVo;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

@Service
public interface MessageService extends IService<message> {
    List<messageVo> listmessage(MessageDto messagedto);

    void addMessage(MessageDto message, MultipartFile[] files) throws IOException;

     boolean delete(MessageDto messagedto);

}
